// components/empty-state/empty-state.js
Component({
  properties: {
    icon: {
      type: String,
      value: '📦'
    },
    text: {
      type: String,
      value: '暂无数据'
    },
    hint: {
      type: String,
      value: ''
    },
    buttonText: {
      type: String,
      value: ''
    }
  },
  methods: {
    handleButtonTap() {
      this.triggerEvent('buttontap')
    }
  }
})
